.tradeTabWrap {
  position: absolute;
  top: 0;
  right: 0;
  width: 260px;
  height: 568px;
  overflow: hidden;

  .topwrap {
    display: flex;
    flex-direction: row;
    height: 41px;
    box-sizing: border-box;
    padding: 0 16px;
    align-items: center;
    line-height: 41px;
    border-bottom: 1px solid var(--color-divider-2);
    font-weight: 500;
    gap: 24px;

    .item {
      font-size: 14px;
      font-weight: 600;
      color: var(--color-text-3);
      white-space: nowrap;

      &:hover {
        color: var(--color-text-1);
        cursor: pointer;
      }
    }

    .itemact {
      color: var(--color-text-1);
    }
  }
}

.dishwrap {
  .ratiow {
    padding: 8px 16px;

    .dtopwrap {
      margin-bottom: 4px;
      height: 8px;
      background: var(--color-pd-4);
    }

    .buybg {
      height: 100%;
      width: 10%;
      transition: width 0.3s ease-in-out;
      background: var(--color-pd-3);
    }

    .dbot {
      display: flex;
      width: 100%;
      justify-content: space-between;
      font-size: 10px;
      min-width: 80px;
      height: 12px;
      display: flex;
      -webkit-box-align: center;
      align-items: center;
      color: var(--color-pd-1);
    }
  }

  .dlistwrap {
    overflow: auto;
    height: 800px;
    padding: 0 16px;
    font-size: 12px;
    color: var(--color-text-3);

    .trow {
      display: flex;
      height: 20px;
      border-top: 1px solid #fff;
      align-items: center;

      .tc,
      .tcm {
        width: 34%;
      }

      .tcr {
        width: 32%;
      }

      .tcm,
      .tcr {
        text-align: right;
      }
    }

    .trowsell {
      color: rgb(38, 41, 51);
      cursor: pointer;

      &:hover {
        background: rgba(0, 0, 0, 0.03);
      }

      .tc {
        &:nth-child(1) {
          color: var(--color-pd-3);
        }

      }
    }

    .sellRowInfo {
      display: flex;
      height: 36px;
      align-items: center;

      .num1 {
        font-size: 20px;
        margin-right: 8px;
        display: flex;
        // align-items: center;
        gap: 2px;

        img {
          display: block;
          width: 16px;
          height: 16px;
          margin-top: 5px;
        }
      }

      .num2 {
        color: rgb(142, 148, 158)
      }
    }
  }
}

.tradeListwrap {
  .tlistwrap {
    padding: 0 16px;
    font-size: 12px;
    color: var(--color-text-3);

    .tbody {
      overflow-y: auto;
      height: 491px;
    }

    .th {
      margin: 8px 0;
    }

    .trow {
      display: flex;
      height: 20px;
      border-top: 1px solid #fff;
      align-items: center;

      .tc,
      .tcm {
        width: 36%;
      }

      .tcr {
        width: 32%;
      }

      .tcm,
      .tcr {
        text-align: right;
      }
    }
  }
}